package sch.frog.creational.prototype.entity;

public class ObjectB extends ObjectA {

    private int c = 0;

    public int getC() {
        return c;
    }

    public void setC(int c) {
        this.c = c;
    }

    @Override
    public ObjectB clone(){
        return (ObjectB) super.clone();
    }

    @Override
    public String toString() {
        return "ObjectB{" +
                "c=" + c +
                '}';
    }
}
